package com.nervenets.aspect;

import java.lang.annotation.*;

/**
 * Created by Joe on 2017/12/1.
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface RedisAsyncLocker {
    String key() default ("");

    int maxTimes() default 0;
}
